package com.csdj.x315springboot.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.csdj.x315springboot.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cloud
 * @since 2021-12-01
 */
public interface IUserService extends IService<User> {

    User login(String username,String password);

    IPage<User> getByPage(int page,int rows);

}
